home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / os2 / sox_32.zip / INSTALL next >
Text File  |  1992-10-27  |  2KB  |  53 lines

  1.  
  2. SOX: Sound Tools installation
  3.  
  4. May 18, 1992
  5.  
  6. The sox program is just a batch utility that reads & writes
  7. files.  It's very easy to port to new computers.
  8.  
  9. This distribution will compile and run on most Unix systems.
  10. It was developed on a Unix/386 machine running AT&T V.3.2.
  11. It has been ported to many AT&T V.3- and V.4-flavored Unixes,
  12. and many BSD-derived Unixes as well.  There is a DOS port,
  13. and VMS and Amiga ones are on the way.
  14.  
  15. For V.3 and V.4 Unix, the Makefile should work as is.
  16. For SUN, NeXT, and other Unixes derived from Berkeley Unix,
  17. you'll need to comment out these four lines in the Makefile:
  18.     
  19.     CFLAGS    = $O -DSYSV 
  20.     CC        = cc
  21.     AR        = ar r
  22.     RANLIB    = ar ts
  23.  
  24. and uncomment the following ones:
  25.  
  26.     # CFLAGS    = $O 
  27.     # CC        = cc
  28.     # AR        = ar r
  29.     # RANLIB    = ranlib
  30.  
  31. After successfully compiling SOX, try translating a sound file.
  32. If you can play one of the supported sound file formats,
  33. translate 'monkey.voc' to your format (we'll use 'xxx'):
  34.  
  35.     sox monkey.voc monkey.xxx
  36.  
  37. You may have to give the word size and rate for the file.
  38. For example, this command will make a sound file with a data rate of
  39. 12,500 samples per second and the data formatted as signed shorts:
  40.  
  41.     sox monkey.voc -r 12500 -s -w monkey.xxx 
  42.  
  43. If monkey.xxx plays properly (it's a very short monkey screech),
  44. congratulations!  SOX works.  Now you should run the 'tests.sh'
  45. shell script to exercise various test scenarios.  It should
  46. print nothing out.  You can only run this script under Unix.
  47. It shows alternate uses of the (far too) many options to sox.
  48.  
  49. After testing with a sound file, try compiling sox with the
  50. optimizer (-O instead of -g).  It should run a little faster.
  51.  
  52. Lance Norskog
  53.